package com.wtwd.device.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.Arrays;

/**
 * @author mjy
 * @date 2021/11/22
 * @description
 */
@ApiModel(value="ProblemFeedbackDto对象", description="")
public class ProblemFeedbackDto implements Serializable {

    private static final long serialVersionUID = 1464687146L;


    @ApiModelProperty(value = "反馈的app名称")
    private Long appName;

    @ApiModelProperty(value = "提交人邮箱")
    private String submitterMail;

    @ApiModelProperty(value = "问题反馈类容")
    private String problemDescription;

    @ApiModelProperty(value = "问题截图地址")
    private MultipartFile[] problemImages;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    public Long getAppName() {
        return appName;
    }

    public void setAppName(Long appName) {
        this.appName = appName;
    }

    public String getSubmitterMail() {
        return submitterMail;
    }

    public void setSubmitterMail(String submitterMail) {
        this.submitterMail = submitterMail;
    }

    public String getProblemDescription() {
        return problemDescription;
    }

    public void setProblemDescription(String problemDescription) {
        this.problemDescription = problemDescription;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public MultipartFile[] getProblemImages() {
        return problemImages;
    }

    public void setProblemImages(MultipartFile[] problemImages) {
        this.problemImages = problemImages;
    }

    @Override
    public String toString() {
        return "ProblemFeedbackDto{" +
                "appName=" + appName +
                ", submitterMail='" + submitterMail + '\'' +
                ", problemDescription='" + problemDescription + '\'' +
                ", problemImages=" + Arrays.toString(problemImages) +
                ", createTime=" + createTime +
                '}';
    }
}
